AdTribes\PFP\Helpers\Sanitization S

Total Complexity 30
Dependencies 0
Dependents 2
Total lines 373
Lines of code 149
Logical lines of code 89
Comment lines 169
Methods 11
Properties 0

Methods 11

Method Rating Maintainability Complexity Lines of code
sanitize_text_field()
A
49 10 28
sanitize_html_content()
S
59 4 15
sanitize_array()
S
60 4 13
platform_allows_html()
S
55 2 22
platform_requires_pure_plain_text()
S
61 2 13
convert_to_pure_plain_text()
S
57 1 15
sanitize_raw_html_content()
S
65 2 9
sanitize_utf8_for_xml()
S
71 2 6
common_sanitization()
S
62 1 11
preserve_html_formatting()
S
62 1 10
convert_to_plain_text()
S
66 1 7